#ifndef _DIALOG_CALI_H_
#define	_DIALOG_CALI_H_

#include "popup_dialog.h"
#include "lable.h"
#include "button.h"
#include "bar.h"

class CaliDialog: public PopupDialog
{
public:
    CaliDialog(HWND parent=0);
    ~CaliDialog();

    Lable *pLable;
    Button *pButtonCalibrate;
    Button *pButtonOK;
    Bar *pBarCh1;
    Bar *pBarCh2;
    Bar *pBarCh3;
    Bar *pBarCh4;
    Bar *pBarCh5;
    Bar *pBarCh6;
    Bar *pBarCh7;
    Bar *pBarCh8;
    Bar *pBarCh9;
    Bar *pBarCh10;
    Bar *pBarCh11;
    Bar *pBarCh12;

private:
    void calibrate();
    virtual void draw(Rect *r);
    virtual int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
};


#endif



